Optimal. Leaf size=92 \[ -\frac{3 b c-2 a d}{2 d^2 x \sqrt{c+\frac{d}{x^2}}}+\frac{(3 b c-2 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{2 d^{5/2}}-\frac{b}{2 d x^3 \sqrt{c+\frac{d}{x^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.050077, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {459, 335, 288, 217, 206} \[ -\frac{3 b c-2 a d}{2 d^2 x \sqrt{c+\frac{d}{x^2}}}+\frac{(3 b c-2 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{x \sqrt{c+\frac{d}{x^2}}}\right )}{2 d^{5/2}}-\frac{b}{2 d x^3 \sqrt{c+\frac{d}{x^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rule 335
Rule 288
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{a+\frac{b}{x^2}}{\left (c+\frac{d}{x^2}\right )^{3/2} x^4} \, dx &=-\frac{b}{2 d \sqrt{c+\frac{d}{x^2}} x^3}+\frac{(-3 b c+2 a d) \int \frac{1}{\left (c+\frac{d}{x^2}\right )^{3/2} x^4} \, dx}{2 d}\\ &=-\frac{b}{2 d \sqrt{c+\frac{d}{x^2}} x^3}-\frac{(-3 b c+2 a d) \operatorname{Subst}\left (\int \frac{x^2}{\left (c+d x^2\right )^{3/2}} \, dx,x,\frac{1}{x}\right )}{2 d}\\ &=-\frac{b}{2 d \sqrt{c+\frac{d}{x^2}} x^3}-\frac{3 b c-2 a d}{2 d^2 \sqrt{c+\frac{d}{x^2}} x}+\frac{(3 b c-2 a d) \operatorname{Subst}\left (\int \frac{1}{\sqrt{c+d x^2}} \, dx,x,\frac{1}{x}\right )}{2 d^2}\\ &=-\frac{b}{2 d \sqrt{c+\frac{d}{x^2}} x^3}-\frac{3 b c-2 a d}{2 d^2 \sqrt{c+\frac{d}{x^2}} x}+\frac{(3 b c-2 a d) \operatorname{Subst}\left (\int \frac{1}{1-d x^2} \, dx,x,\frac{1}{\sqrt{c+\frac{d}{x^2}} x}\right )}{2 d^2}\\ &=-\frac{b}{2 d \sqrt{c+\frac{d}{x^2}} x^3}-\frac{3 b c-2 a d}{2 d^2 \sqrt{c+\frac{d}{x^2}} x}+\frac{(3 b c-2 a d) \tanh ^{-1}\left (\frac{\sqrt{d}}{\sqrt{c+\frac{d}{x^2}} x}\right )}{2 d^{5/2}}\\ \end{align*}
Mathematica [C] time = 0.0244457, size = 57, normalized size = 0.62 \[ \frac{x^2 (2 a d-3 b c) \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{c x^2}{d}+1\right )-b d}{2 d^2 x^3 \sqrt{c+\frac{d}{x^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 132, normalized size = 1.4 \begin{align*}{\frac{c{x}^{2}+d}{2\,{x}^{5}} \left ( 2\,{d}^{5/2}{x}^{2}a-3\,{d}^{3/2}{x}^{2}bc-2\,\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ) \sqrt{c{x}^{2}+d}{x}^{2}a{d}^{2}+3\,\ln \left ( 2\,{\frac{\sqrt{d}\sqrt{c{x}^{2}+d}+d}{x}} \right ) \sqrt{c{x}^{2}+d}{x}^{2}bcd-{d}^{{\frac{5}{2}}}b \right ) \left ({\frac{c{x}^{2}+d}{{x}^{2}}} \right ) ^{-{\frac{3}{2}}}{d}^{-{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.08669, size = 551, normalized size = 5.99 \begin{align*} \left [-\frac{{\left ({\left (3 \, b c^{2} - 2 \, a c d\right )} x^{3} +{\left (3 \, b c d - 2 \, a d^{2}\right )} x\right )} \sqrt{d} \log \left (-\frac{c x^{2} - 2 \, \sqrt{d} x \sqrt{\frac{c x^{2} + d}{x^{2}}} + 2 \, d}{x^{2}}\right ) + 2 \,{\left (b d^{2} +{\left (3 \, b c d - 2 \, a d^{2}\right )} x^{2}\right )} \sqrt{\frac{c x^{2} + d}{x^{2}}}}{4 \,{\left (c d^{3} x^{3} + d^{4} x\right )}}, -\frac{{\left ({\left (3 \, b c^{2} - 2 \, a c d\right )} x^{3} +{\left (3 \, b c d - 2 \, a d^{2}\right )} x\right )} \sqrt{-d} \arctan \left (\frac{\sqrt{-d} x \sqrt{\frac{c x^{2} + d}{x^{2}}}}{c x^{2} + d}\right ) +{\left (b d^{2} +{\left (3 \, b c d - 2 \, a d^{2}\right )} x^{2}\right )} \sqrt{\frac{c x^{2} + d}{x^{2}}}}{2 \,{\left (c d^{3} x^{3} + d^{4} x\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 19.5526, size = 262, normalized size = 2.85 \begin{align*} a \left (\frac{c d^{2} x^{2} \log{\left (\frac{c x^{2}}{d} \right )}}{2 c d^{\frac{7}{2}} x^{2} + 2 d^{\frac{9}{2}}} - \frac{2 c d^{2} x^{2} \log{\left (\sqrt{\frac{c x^{2}}{d} + 1} + 1 \right )}}{2 c d^{\frac{7}{2}} x^{2} + 2 d^{\frac{9}{2}}} + \frac{2 d^{3} \sqrt{\frac{c x^{2}}{d} + 1}}{2 c d^{\frac{7}{2}} x^{2} + 2 d^{\frac{9}{2}}} + \frac{d^{3} \log{\left (\frac{c x^{2}}{d} \right )}}{2 c d^{\frac{7}{2}} x^{2} + 2 d^{\frac{9}{2}}} - \frac{2 d^{3} \log{\left (\sqrt{\frac{c x^{2}}{d} + 1} + 1 \right )}}{2 c d^{\frac{7}{2}} x^{2} + 2 d^{\frac{9}{2}}}\right ) + b \left (- \frac{3 \sqrt{c}}{2 d^{2} x \sqrt{1 + \frac{d}{c x^{2}}}} + \frac{3 c \operatorname{asinh}{\left (\frac{\sqrt{d}}{\sqrt{c} x} \right )}}{2 d^{\frac{5}{2}}} - \frac{1}{2 \sqrt{c} d x^{3} \sqrt{1 + \frac{d}{c x^{2}}}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + \frac{b}{x^{2}}}{{\left (c + \frac{d}{x^{2}}\right )}^{\frac{3}{2}} x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]